package com.micromall.repository.entity.admin;

import com.micromall.repository.entity.OrderGoods;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author zhangzxiang91@gmail.com
 * @date 2016/04/18.
 */
public class AdminOrderDetail {

	// 下单会员id
	private Integer    uid;
	// 下单会员名称
	private String     nickname;
	// 订单编号
	private String     orderNo;
	// 订单总金额
	private BigDecimal totalAmount;
	// 运费
	private BigDecimal freight;
	// 商品总重量
	private BigDecimal totalWeight;
	// 买家留言
	private String     leaveMessage;
	// 备注
	private String     remark;
	// ----------------------------- 收货信息

	// 收货地址信息（省、市、区/县、详细地址）
	private String shippingAddress;
	// 收货人姓名
	private String consigneeName;
	// 收货人电话
	private String consigneePhone;
	// 邮政编码
	private String postcode;

	// ----------------------------- 物流信息

	// 发货物流公司
	private String deliveryCompany;
	// 发货物流公司代码
	private String deliveryCode;
	// 发货物流单号
	private String deliveryNumber;
	// 发货时间
	private Date   deliveryTime;

	// 订单当前状态
	private Integer          status;
	// 退款状态
	private Integer          refundStatus;
	// 订单创建时间
	private Date             createTime;
	// 订单支付时间
	private Date             payTime;
	// 订单确认收货时间
	private Date             confirmDeliveryTime;
	// 订单申请退款时间
	private Date             applyRefundTime;
	// 订单退款完成时间
	private Date             refundCompleteTime;
	// 订单申请退款原因
	private String           refundReason;
	// 拒绝退款原因
	private String           refundRefuseReason;
	// 订单关闭时间
	private Date             closeTime;
	// 关闭日志
	private String           closelog;
	// 订单商品信息
	private List<OrderGoods> goodsList;

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public BigDecimal getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}

	public BigDecimal getFreight() {
		return freight;
	}

	public void setFreight(BigDecimal freight) {
		this.freight = freight;
	}

	public BigDecimal getTotalWeight() {
		return totalWeight;
	}

	public void setTotalWeight(BigDecimal totalWeight) {
		this.totalWeight = totalWeight;
	}

	public String getLeaveMessage() {
		return leaveMessage;
	}

	public void setLeaveMessage(String leaveMessage) {
		this.leaveMessage = leaveMessage;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getShippingAddress() {
		return shippingAddress;
	}

	public void setShippingAddress(String shippingAddress) {
		this.shippingAddress = shippingAddress;
	}

	public String getConsigneeName() {
		return consigneeName;
	}

	public void setConsigneeName(String consigneeName) {
		this.consigneeName = consigneeName;
	}

	public String getConsigneePhone() {
		return consigneePhone;
	}

	public void setConsigneePhone(String consigneePhone) {
		this.consigneePhone = consigneePhone;
	}

	public String getPostcode() {
		return postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getRefundStatus() {
		return refundStatus;
	}

	public void setRefundStatus(Integer refundStatus) {
		this.refundStatus = refundStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Date getConfirmDeliveryTime() {
		return confirmDeliveryTime;
	}

	public void setConfirmDeliveryTime(Date confirmDeliveryTime) {
		this.confirmDeliveryTime = confirmDeliveryTime;
	}

	public Date getApplyRefundTime() {
		return applyRefundTime;
	}

	public void setApplyRefundTime(Date applyRefundTime) {
		this.applyRefundTime = applyRefundTime;
	}

	public String getRefundReason() {
		return refundReason;
	}

	public void setRefundReason(String refundReason) {
		this.refundReason = refundReason;
	}

	public Date getCloseTime() {
		return closeTime;
	}

	public void setCloseTime(Date closeTime) {
		this.closeTime = closeTime;
	}

	public List<OrderGoods> getGoodsList() {
		return goodsList;
	}

	public void setGoodsList(List<OrderGoods> goodsList) {
		this.goodsList = goodsList;
	}

	public String getDeliveryCompany() {
		return deliveryCompany;
	}

	public void setDeliveryCompany(String deliveryCompany) {
		this.deliveryCompany = deliveryCompany;
	}

	public String getDeliveryCode() {
		return deliveryCode;
	}

	public void setDeliveryCode(String deliveryCode) {
		this.deliveryCode = deliveryCode;
	}

	public String getDeliveryNumber() {
		return deliveryNumber;
	}

	public void setDeliveryNumber(String deliveryNumber) {
		this.deliveryNumber = deliveryNumber;
	}

	public Date getDeliveryTime() {
		return deliveryTime;
	}

	public void setDeliveryTime(Date deliveryTime) {
		this.deliveryTime = deliveryTime;
	}

	public Date getRefundCompleteTime() {
		return refundCompleteTime;
	}

	public void setRefundCompleteTime(Date refundCompleteTime) {
		this.refundCompleteTime = refundCompleteTime;
	}

	public String getRefundRefuseReason() {
		return refundRefuseReason;
	}

	public void setRefundRefuseReason(String refundRefuseReason) {
		this.refundRefuseReason = refundRefuseReason;
	}

	public String getCloselog() {
		return closelog;
	}

	public void setCloselog(String closelog) {
		this.closelog = closelog;
	}
}
